home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / Mic-1 v1.0 / Information / ReadMe < prev   
Text File  |  1996-05-24  |  2KB  |  23 lines

  1.  
  2.    The Mic-1
  3. a microprocessor simulation
  4.   by John DeWeese ©1996
  5.  
  6.    "A party in every bite!"
  7.  
  8.  
  9. About This Program:
  10.  
  11. I thought it was pretty fun making this program in C++, because all of the objects really made sense. C++ is flexible enough that I could spend about the same amount of time making this program over (now that I know lots about it) for multiprocessing using a shared memory space. But I won't. Because I spent about two months on and off working on this thang! Dr. Tanenbaum, the author of "Structured Computer Architecture", supplied the concept, ideas, diagrams, and microprogram to run this Mic-1, and I built it in C++. The assembly is pretty direct if you're into that sort of thing, but the interface is REALLY lacking, solely because it is SIOUX. Maybe I'll get around to fixing it up one of these days and I'll put a real front face on it. Maybe I'll release some more assembly programs later on, too, to keep the student of the Mic-1 interested. The processor is in fact a miracle of modern technology, and it is always interesting to see the inner workings of even such a simple design as this. Enjoy!
  12.  
  13.  
  14. About The Sample Assembly Language Code:
  15.  
  16.             ...Wait a minute... what sample code?
  17. The one located in the "Memory" file which the Mic-1 program loads at startup. This code is ten lines long, and it has a sole purpose: to count down from whatever is in address 9 down to 0 in increments of whatever is address 8 and store the total sum in address 10. Then, since the example microarchitecture does not have a halt instruction, it keeps executing the data in addresses 11, 12, 13, etc. Fortunately, it won't do anything to your data since 0x0000 in Mic-1 assembly simply loads "0" into the accumulator. (see the Mic-1 Block Diagram PICT for a list of more "MAC-1" assembly). To write your own programs, keep in mind that the file must have the number of lines in your program on the very first line in the file "Memory".
  18.  
  19.  
  20. Change History:
  21. v1.0 - First release for public consumption.
  22.  
  23.